using System.Collections.Generic;

namespace ESRI.ArcGIS.Client.Tasks.Async
{
    public partial class CutTaskResult
    {
        /// <summary>
        /// The Graphics returned by the service.
        /// </summary>
        public IList<Graphic> Results { get; private set; }

        /// <summary>
        /// The indexes of the new geometries that were derived from the original geometry.
        /// </summary>
        public int[] CutIndexes { get; private set; }

        internal CutTaskResult(CutEventArgs eventArgs)
        {
            Results = eventArgs.Results;
            CutIndexes = eventArgs.CutIndexes;
        }
    }
}